﻿using System;
using System.Data;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using TMDT_Nhom1A.DTO;
using TMDT_Nhom1A.DAO;
using System.Collections.Generic;

namespace TMDT_Nhom1A.BUS
{
    public class BankWebservice_BUS
    {
        public static List<BANK_WEBSERVICE> getAllBankWebservice()
        {
            return BankWebservice_DAO.getAllBankWebservice();
        }

        public static bool insertBankWebservice(BANK_WEBSERVICE bankWs)
        {
            return BankWebservice_DAO.insertBankWebservice(bankWs);
        }

        public static bool updateBankWebservice(BANK_WEBSERVICE newBankWS)
        {
            return BankWebservice_DAO.updateBankWebservice(newBankWS);
        }
   
        public static bool deleteBankWebservice(string bankWS_ID)
        {
            return BankWebservice_DAO.deleteBankWebservice(bankWS_ID);
        }
    }
}
